package cscie160.project.atm;
/**
 * This interface provides requirements for an ATMListener implementation.
 * Our client will be the listener.
 * @author Michael Melnikov   
*/
public interface ATMListener extends java.rmi.Remote
{
    /**
    * receive TransactionNotification messages
    */
    void receiveTransactionNotification(TransactionNotification notification)
        throws java.rmi.RemoteException;
    
    /**
    * reristers as listener with ATM
    * @param atm ATM
    */
    boolean registerItself(ATM atm)
        throws java.rmi.RemoteException;
}